
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<%@ include file="/include/head.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="<%=request.getContextPath()%>/resources/servicePro/jquery.uploadify.min.js"></script>
<link rel="stylesheet" href="<%=request.getContextPath()%>/resources/servicePro/uploadify.css">
<script type="text/javascript"
	src="<%=request.getContextPath()%>/resources/problem/lytebox.js"></script>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/resources/problem/lytebox.css">
	<script type="text/javascript"
	src="<%=request.getContextPath()%>/resources/layer/layer.js"></script>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/resources/layer/extend/layer.ext.js"></script>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/resources/layer/skin/layer.css">
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/resources/layer/skin/layer.ext.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
      $(function(){  
      
	     $("#file_upload1").uploadify({
        		    'buttonText' : '请选择图片',
        		    'height' : 30,
        	        'swf' : '<%=request.getContextPath()%>/resources/servicePro/uploadify.swf',
        	        'uploader' : '<%=request.getContextPath()%>/back/actBack/uploadpic.do?type=zlk',
        	        'width' : 120,
        	        'multi'           : false,
                    "auto"            : false,
                    "dnd"             : true,
        	        "fileTypeExts"    : "*.png;*.jpg;*.bmp;*.gif",
                    "fileSizeLimit"   : "2MB",
        	        'fileObjName'   : 'file',
        	        'onUploadSuccess' : function(file, data, response) {
        	        	      data = eval("(" + data + ")");      	       
        	                 alert( file.name + ' 上传成功！ ');
        	                 var s="<input type='hidden'   name='bpicUrl' value='"+data.picurl+"' />"+"<input type='hidden'   name='spicUrl' value='"+data.picurl1+"' /> "+
        	                 "<IMG   width='50' height='50' src='<%=imgPath %>"+data.picurl1+"'/>";
        	                 $("#content").append(s);
                            $("#iifUpPic1").val("1");
        	            $("#uploadButton1").hide();
        	            
        	        },
         'onFallback' : function() {
           alert('Flash was not detected.');
        },
         "onSelect" : function(file) {
          if ($("#file_upload-queue").children().length == 2) {
            $("#uploadButton1").show();
          } else {
            $("#uploadButton1").show();
          }
        },
           "onCancel" : function() {
          if ($("#file_upload-queue").children().length == 2) {
            $("#uploadButton1").show();
          } else if ($("#file_upload-queue").children().length == 2) {
            $("#uploadButton1").show();
          } else {
            $("#uploadButton1").show();
          }
        },
 		        });
	     /**加载修改活动框**/
		  $("#update_manager_dialog").dialog({
		    autoOpen : false,
		    width : 700,
		    draggable : true,
		    resizable : false,
		    height:550,
		    buttons : [  {
		      text : "提交",
		      click : function() {
		      	  updateManager();
		     	 $(this).dialog("close");		      	
		      }
		    }, {
		      text : "取消",
		      click : function() {
		        $(this).dialog("close");
		        
		      }
		    } ]
	  });
        $(".list_table").colResizable({
          liveDrag:true,
          gripInnerHtml:"<div class='grip'></div>", 
          draggingClass:"dragging", 
          minWidth:30
        }); 
        
        
        
      }); 
     $(function() {
           $("#checkAll").click(function() {
                $('input[name="subBox"]').attr("checked",this.checked); 
            });
            var $subBox = $("input[name='subBox']");
            $subBox.click(function(){
                $("#checkAll").attr("checked",$subBox.length == $("input[name='subBox']:checked").length ? true : false);
            });
            	///添加顶级分类(ajax post 提交)
	    $("#add_topcategory").click(function(e) {
	    
	     });
	     


        });
        
        //update
    function openupdate(pkey,pvalue){
        closeOtherJDialog();
        $("#key").val(pkey);
        $("#value").val(pvalue);
	    $("#update_version_dialog").dialog('open');
	  }

function updateSysPro(){
    var pkey=$.trim($("#key").val());
    var pvalue=$.trim($("#value").val());
    
     if(pvalue.length==0){
      alert("请输入正确的参数!");
    } 
   $.ajax( {
		type : "POST",
		url : "updateSysProgram.do",
		data:{"pkey":pkey,"pvalue":pvalue},
		dataType: "json",
		async : false,
		success : function(data) {
			if(data.code=="0000"){
	       		 alert("操作成功!");
	       		 location.reload();
	       }else{
	           alert(data.code+"操作失败，请稍后重试!");
	       }
		}
		
	});     
	}
	   function updateManager(){
     $("#savepic").get(0).submit();
     }
	function toAdd(){
		window.location.href="<%=request.getContextPath()%>/back/school/toAdd.do";
	}
		function add(id,type){
		window.location.href="<%=request.getContextPath()%>/back/school/setObj.do?operateType=2&objId="+id+"&type="+type;
	}
	    function del(id,type){
	    	window.location.href="<%=request.getContextPath()%>/back/school/setObj.do?operateType=3&objId="+id+"&type="+type;
     }
        function up(id,type){
     	window.location.href="<%=request.getContextPath()%>/back/school/setObj.do?operateType=1&objId="+id+"&type="+type;
     }
   </script>
<title>名校管理</title>


</head>
<body  >
	<div class="container">
		<div class="main_top">

			<div class="main_right fr span10">

				<div class="box pl5">
					<div class="box_border">
						<div class="box_top">
							<div class="box_top_l fl">
								<b class="pl15">数据</b>
							</div>
						</div>
							<form id="form1" method="post" action="<%=request.getContextPath()%>/back/school/set.do">
								<div class="searchDiv fl">
									<select name="type" class="input-text lh30">
										<option  <c:if test="${PageBean.type==1}">selected="selected"</c:if> value="1">活动</option>
										<option  <c:if test="${PageBean.type==2}">selected="selected"</c:if> value="2">互动</option>
										<option  <c:if test="${PageBean.type==3}">selected="selected"</c:if> value="3">名师</option>
										<option  <c:if test="${PageBean.type==4}">selected="selected"</c:if>  value="4">名校</option>
										<option  <c:if test="${PageBean.type==5}">selected="selected"</c:if> value="5">作品</option>
									</select>
									
									 <input type="submit" value="搜索" class="btn btn82 btn_search">

								</div>
						
							</form>
					
								 
						<div class="box_center">
							<div id="table" class=" fl mt10">
								<div class="box span10 oh">
								<c:if test="${PageBean.type==1}">
										 <table width="100%" border="0" cellpadding="0" cellspacing="0"
										class="list_table">
										<tr>
											<th width="1.5%">序号</th>
											<th width="5%">活动名称</th>
											<th width="3%">发布人</th>
											<th width="5%">缩略图</th>
											<th width="2%">状态</th>
											<th width="5%">开始时间</th>
											<th width="5%">结束时间</th>
											<th width="5%">创建时间</th>
											<th width="5%">操作</th>
										</tr>
										<c:if test="${fn:length(activityBeans)==0}"><tr class="tr"><td align="center" colspan="9">暂无数据</td> </tr></c:if>
										<c:if test="${fn:length(activityBeans)>0}">
										<c:forEach items="${activityBeans}" var="activity" varStatus="abc">
											<tr class="tr">
											    <td align="center"><c:out value="${(PageBean.currentpage-1)*PageBean.pagesize+abc.index + 1}" /></td>
												<td align="center"><c:out value="${activity.ploy_name}" /></td>
												<td align="center"><c:out value="${activity.user_name}" /></td>
												<td align="center">
                                                 <a href="<%=imgPath %>${activity.photo}" data-lightbox="image-1" id="showImg" > <IMG alt="活动缩略图" width="50" height="50" src="<%=imgPath %>${activity.photo}"/></a>
                                                 </td>
												<td align="center">
												  <c:if test="${activity.is_eff == '0' }">无效</c:if>
												  <c:if test="${activity.is_eff == '1' }">有效</c:if>
												</td>
												<td align="center"><c:out value="${activity.start_time}" /></td>
												<td align="center"><c:out value="${activity.end_time}" /></td>
												<td align="center"><c:out value="${activity.create_time}" /></td>
												<td align="center">
												   <c:if test="${activity.is==true}">
												<input type="button" class="ext_btn ext_btn_error" onclick="del('${activity.ploy_id}','${PageBean.type }')" value="删除配置"> 
												  <input type="button" class="ext_btn ext_btn_error" onclick="up('${activity.ploy_id}','${PageBean.type }')" value="置顶">
												</c:if>
												<c:if test="${activity.is==false}">
												<input type="button" class="ext_btn ext_btn_error" onclick="add('${activity.ploy_id}','${PageBean.type }');" value="添加配置">  
												</c:if>
												 
												  </td>
											</tr>
										</c:forEach>
                                     </c:if>
									</table>
									<div class="fr fontblack mt25 mb20 mr20">
										每页条数：<a href="<%=request.getContextPath()%>/back/school/set.do?type=1&pz=5"
											class="${pageSize == 5 ? 'fontpink' : ''}">5</a> | <a
											href="<%=request.getContextPath()%>/back/school/set.do?type=1&pz=10"
											class="${pageSize == 10 ? 'fontpink' : ''}">10</a> | <a
											href="<%=request.getContextPath()%>/back/school/set.do?type=1&pz=20"
											class="${pageSize == 20 ? 'fontpink' : ''}">20</a>
									</div>
									<div class="fr fontblack mt5 mb20 mr20">
										<jsp:include page="../template/commonPagination.jsp">
											<jsp:param name="url" value="set.do?type=1&"></jsp:param>
										</jsp:include>
									</div>
									</c:if>
									<c:if test="${PageBean.type==2}">
										  <table width="100%" border="0" cellpadding="0" cellspacing="0"
										class="list_table">
										<tr>
											<th width="1.5%">序号</th>
											<th width="3%">标题</th>
											<th width="3%">缩略图</th>
											<th width="3%">发布人</th>
											<th width="3%">创建时间</th>
											<!-- <th width="3%">是否有效</th> -->
											<th width="3%">添加图片</th>
											<th width="3%">查看图片</th>
											<th width="5%">操作</th>
										</tr>
										<c:if test="${fn:length(interList)==0}"><tr class="tr"><td align="center" colspan="8">暂无数据</td> </tr></c:if>
										<c:if test="${fn:length(interList)>0}">
										<c:forEach items="${interList}" var="dic" varStatus="abc">
											<tr class="tr">
											    <td align="center"><c:out value="${(PageBean.currentpage-1)*PageBean.pagesize+abc.index + 1}" /></td>
											    <td align="center"><c:out value="${dic.title}" /></td>
											    <td align="center">
                                                    <IMG alt="缩略图" width="50" height="50" src="<%=imgPath %>${dic.photo}"/>
                                                 </td>
                                                 <td align="center">
                                                    <c:out value="${dic.username}" />
                                                 </td>
                                                  <td align="center">
                                                    <c:out value="${dic.create_time}" />
                                                 </td>
												<%-- <td align="center">
												 <c:if test="${dic.is_eff == 0 }">无效</c:if>
												 <c:if test="${dic.is_eff == 1 }">有效</c:if>
                                                </td> --%>
                                                 <td align="center">
												  <input type="button" class="new_btn new_btn_publish new_btn_big" value="添加图片"  />
                                                </td>  
											     	<td align="center"><c:if
															test="${fn:length(dic.listPic)>0}">
															<c:forEach items="${dic.listPic}" var="pic" varStatus="abcd">
																<div class="thumbnail">
																	<a href="<%=imgPath %>${pic.pic_b}" rel="lytebox[plants]${dic.hd_id }" title="Press X to close"><img/>
																</div>
																<c:if test="${abcd.index==0}">
																<input type="button" class="new_btn new_btn_look" value="查看图片"  />
																</c:if>
																</a>
															</c:forEach>
														</c:if> <c:if test="${fn:length(dic.listPic)==0}">
															暂无图片
															</c:if>
													</td>
												<td align="center">
												 <c:if test="${dic.is==true}">
												<input type="button" class="ext_btn ext_btn_error" onclick="del('${dic.hd_id}','${PageBean.type }')" value="删除配置"> 
												  <input type="button" class="ext_btn ext_btn_error" onclick="up('${dic.hd_id}','${PageBean.type }')" value="置顶">
												</c:if>
												<c:if test="${dic.is==false}">
												<input type="button" class="ext_btn ext_btn_error" onclick="add('${dic.hd_id}','${PageBean.type }');" value="添加配置">  
												</c:if>
												  </td>
											</tr>
										</c:forEach>
                                     </c:if>
									</table>
									<div class="fr fontblack mt25 mb20 mr20">
										每页条数：<a href="<%=request.getContextPath()%>/back/school/set.do?type=2&pz=5"
											class="${pageSize == 5 ? 'fontpink' : ''}">5</a> | <a
											href="<%=request.getContextPath()%>/back/school/set.do?type=2&pz=10"
											class="${pageSize == 10 ? 'fontpink' : ''}">10</a> | <a
											href="<%=request.getContextPath()%>/back/school/set.do?type=2&pz=20"
											class="${pageSize == 20 ? 'fontpink' : ''}">20</a>
									</div>
									<div class="fr fontblack mt5 mb20 mr20">
										<jsp:include page="../template/commonPagination.jsp">
											<jsp:param name="url" value="set.do?type=2&"></jsp:param>
										</jsp:include>
									</div>
									</c:if>
								
								<c:if test="${PageBean.type==4}">
									<table width="100%" border="0" cellpadding="0" cellspacing="0"
										class="list_table">
										
										<tr>
											<th width="1.5%">序号</th>
											<th width="7%">名校名称</th>
											<th width="5%">名校头像</th>
											<th width="5%">名师数量</th>
											<th width="5%">学员数量</th>
											<th width="5%">积分值</th>
											<th width="8%">操作</th>
										</tr>
										<c:if test="${fn:length(schoolListBean)==0}"><tr class="tr"><td align="center" colspan="7">暂无数据</td> </tr></c:if>
										<c:if test="${fn:length(schoolListBean)>0}">
										<c:forEach items="${schoolListBean}" var="manager" varStatus="abc">
											<tr class="tr">
											    <td align="center"><c:out value="${(PageBean.currentpage-1)*PageBean.pagesize+abc.index + 1}" /></td>
												<td align="center"><a href="<%=request.getContextPath()%>/back/school/detail.do?schoolId=${manager.schoolId}"><c:out value="${manager.schoolName}" /></a></td>
												<td align="center"><a href="<%=imgPath %>${manager.schoolLogo}" data-lightbox="image-1"  > <IMG alt="名校头像" width="50" height="50" src="<%=imgPath %>${manager.schoolLogo}"/></a></td>
												<td align="center"><c:out value="${manager.teacherNum}" /></td>
												<td align="center"><c:out value="${manager.studentNum}" /></td>
												<td align="center"><c:out value="${manager.integralValue}" /></td>
												<td align="center">
												<c:if test="${manager.is==true}">
												<input type="button" class="ext_btn ext_btn_error" onclick="del('${manager.schoolId}','${PageBean.type }')" value="删除配置"> 
												  <input type="button" class="ext_btn ext_btn_error" onclick="up('${manager.schoolId}','${PageBean.type }')" value="置顶">
												</c:if>
												<c:if test="${manager.is==false}">
												<input type="button" class="ext_btn ext_btn_error" onclick="add('${manager.schoolId}','${PageBean.type }');" value="添加配置">  
												</c:if>
												
												  </td>
											</tr>
										</c:forEach>
                                     </c:if>
									</table>
									<div class="fr fontblack mt25 mb20 mr20">
										每页条数：<a href="<%=request.getContextPath()%>/back/school/set.do?type=4&pz=5"
											class="${pageSize == 5 ? 'fontpink' : ''}">5</a> | <a
											href="<%=request.getContextPath()%>/back/school/set.do?type=4&pz=10"
											class="${pageSize == 10 ? 'fontpink' : ''}">10</a> | <a
											href="<%=request.getContextPath()%>/back/school/set.do?type=4&pz=20"
											class="${pageSize == 20 ? 'fontpink' : ''}">20</a>
									</div>
									<div class="fr fontblack mt5 mb20 mr20">
										<jsp:include page="../template/commonPagination.jsp">
											<jsp:param name="url" value="set.do?type=4&"></jsp:param>
										</jsp:include>
									</div>
									</c:if>
									<c:if test="${PageBean.type==3}">
										<table width="100%" border="0" cellpadding="0" cellspacing="0"
										class="list_table">
										<tr>
											<th width="1.5%">序号</th>
											<th width="7%">老师名称</th>
											<th width="5%">老师头像</th>
											<th width="5%">所属学校</th>
											<th width="5%">学员数量</th>
											<th width="5%">作品数量</th>
											<th width="5%">积分值</th>
											<th width="7%">操作</th>
										</tr>
										<c:if test="${fn:length(teacherListBean)==0}"><tr class="tr"><td align="center" colspan="8">暂无数据</td> </tr></c:if>
										<c:if test="${fn:length(teacherListBean)>0}">
										<c:forEach items="${teacherListBean}" var="manager" varStatus="abc">
											<tr class="tr">
											   <td align="center"><c:out value="${(PageBean.currentpage-1)*PageBean.pagesize+abc.index + 1}" /></td>
												<td align="center"><c:out value="${manager.teacherName}" /></td>
												<td align="center"><a href="<%=imgPath %>${manager.teacherLogo}" data-lightbox="image-1"  > <IMG alt="老师头像" width="50" height="50" src="<%=imgPath %>${manager.teacherLogo}"/></a></td>
												<td align="center"><c:out value="${manager.schoolName}" /></td>
												<td align="center"><c:out value="${manager.studentNum}" /></td>
												<td align="center"><c:out value="${manager.worksNum}" /></td>
												<td align="center"><c:out value="${manager.integralValue}" /></td>
												<td align="center">
												<c:if test="${manager.is==true}">
												<input type="button" class="ext_btn ext_btn_error" onclick="del('${manager.teacherId}','${PageBean.type }')" value="删除配置">
												 <input type="button" class="ext_btn ext_btn_error" onclick="up('${manager.teacherId}','${PageBean.type }')" value="置顶"> 
												</c:if>
												<c:if test="${manager.is==false}">
												<input type="button" class="ext_btn ext_btn_error" onclick="add('${manager.teacherId}','${PageBean.type }');" value="添加配置"> 
												</c:if>
												 
												  </td>
											</tr>
										</c:forEach>
                                     </c:if>
									</table>
									<div class="fr fontblack mt25 mb20 mr20">
										每页条数：<a href="<%=request.getContextPath()%>/back/school/set.do?type=3&pz=5"
											class="${pageSize == 5 ? 'fontpink' : ''}">5</a> | <a
											href="<%=request.getContextPath()%>/back/school/set.do?type=3&pz=10"
											class="${pageSize == 10 ? 'fontpink' : ''}">10</a> | <a
											href="<%=request.getContextPath()%>/back/school/set.do?type=3&pz=20"
											class="${pageSize == 20 ? 'fontpink' : ''}">20</a>
									</div>
									<div class="fr fontblack mt5 mb20 mr20">
										<jsp:include page="../template/commonPagination.jsp">
											<jsp:param name="url" value="set.do?type=3&"></jsp:param>
										</jsp:include>
									</div>
									</c:if>
									<c:if test="${PageBean.type==5}">
										<table width="100%" border="0" cellpadding="0" cellspacing="0"
										class="list_table">
										<tr>
												<th width="1.5%">序号</th>
											<th width="2%">作品名称</th>
											<th width="2%">缩略图</th>
											<th width="3%">作品发布人</th>
											<th width="3%">作品发布时间</th>
											<th width="5%">参与活动</th>
											<th width="2%">活动发布人</th>
											<th width="2%">是否有效</th>
											<th width="5%">操作</th>
										</tr>
										<c:if test="${fn:length(worksBeans)==0}"><tr class="tr"><td align="center" colspan="9">暂无数据</td> </tr></c:if>
										<c:if test="${fn:length(worksBeans)>0}">
										<c:forEach items="${worksBeans}" var="activity" varStatus="abc">
											<tr class="tr">
											    <td align="center"><c:out value="${(PageBean.currentpage-1)*PageBean.pagesize+abc.index + 1}" /></td>
												<td align="center"><c:out value="${activity.name}" /></td>
												<td align="center">
                                                 <a href="<%=imgPath %>${activity.picBig}" data-lightbox="image-1" id="showImg" > <IMG alt="活动缩略图" width="50" height="50" src="<%=imgPath %>${activity.picSmall}"/></a>
                                                 </td>
                                                 <td align="center"><c:out value="${activity.user}" /></td>
												<td align="center"><c:out value="${activity.time}" /></td>
												<td align="center"><c:out value="${activity.activity}" /></td>
												<td align="center"><c:out value="${activity.activityUser}" /></td>
												<td align="center">
												  <c:if test="${activity.isUse == '0' }">无效</c:if>
												  <c:if test="${activity.isUse == '1' }">有效</c:if>
												</td>
												<td align="center">
												<c:if test="${activity.is==true}">
												<input type="button" class="ext_btn ext_btn_error" onclick="del('${activity.id}','${PageBean.type }')" value="删除配置">
												 <input type="button" class="ext_btn ext_btn_error" onclick="up('${activity.id}','${PageBean.type }')" value="置顶"> 
												</c:if>
												<c:if test="${activity.is==false}">
												<input type="button" class="ext_btn ext_btn_error" onclick="add('${activity.id}','${PageBean.type }');" value="添加配置"> 
												</c:if>
												  </td>
											</tr>
										</c:forEach>
                                     </c:if>
									</table>
									<div class="fr fontblack mt25 mb20 mr20">
										每页条数：<a href="<%=request.getContextPath()%>/back/school/set.do?type=5&pz=5"
											class="${pageSize == 5 ? 'fontpink' : ''}">5</a> | <a
											href="<%=request.getContextPath()%>/back/school/set.do?type=5&pz=10"
											class="${pageSize == 10 ? 'fontpink' : ''}">10</a> | <a
											href="<%=request.getContextPath()%>/back/school/set.do?type=5&pz=20"
											class="${pageSize == 20 ? 'fontpink' : ''}">20</a>
									</div>
									<div class="fr fontblack mt5 mb20 mr20">
										<jsp:include page="../template/commonPagination.jsp">
											<jsp:param name="url" value="set.do?type=5&"></jsp:param>
										</jsp:include>
									</div>
									</c:if>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>

			<div class="clear"></div>
		</div>

	</div>
	
	 <!-- 添加分类dialog start -->
	<div id="update_version_dialog" title="更新系统参数信息" style="display:none;">
		<div class="box span10 oh">
			<table class="list_table"  id="tb_version_update" >
	            <tr class="tr">
					<td align="center">value:</td>
					<td><input type="text" id="value" name="value" class="input-text lh30" style="width:300px" maxlength="150">
					   <input type="hidden" id="key" name="key">
					</td>
				</tr><tr class="tr">
			</table>
		</div>
		</div>
		
		<!-- 添加学校信息 -->
		<div id="add_manager_dialog" title="添加学校信息" style="display:none;">
		<div class="box span10 oh">
			<table class="list_table"  id="tb_version_update" >
				<tr class="tr">
					<td align="left">&nbsp;&nbsp;手机号:</td>
					<td>
					<input type="text" id="iphone" name="iphone"
										class="input-text_popup_form" style="width:300px" maxlength="50"
										>
										
										</td>
				</tr>
	            <tr class="tr">
					<td align="left">&nbsp;&nbsp;姓名:</td>
					<td><input type="text" id="iname" name="iname"
										class="input-text_popup_form" style="width:300px" maxlength="150"
										></td>
				</tr>
				<tr class="tr">
					<td align="left">&nbsp;&nbsp;密码:</td>
					<td><input type="password" id="ipwd" name="ipwd"
										class="input-text_popup_form" style="width:300px" maxlength="150"
										></td>
				</tr>
				<tr class="tr">
					<td align="left">&nbsp;&nbsp;重复输入密码:</td>
					<td><input type="password" id="inewpwd" name="inewpwd"
										class="input-text_popup_form" style="width:300px" maxlength="150"
										></td>
				</tr>
				 
			</table>
		</div>
		</div>
			<!-- 修改活动信息 -->
		<div id="update_manager_dialog" title="添加图片" style="display:none;">
		<div class="box span10 oh">
		<form action="<%=request.getContextPath()%>/back/student/savepiccontent.do" method="post" id="savepic">
		<input type="hidden" id="zid"  name="iObj_id" />
		<input type="hidden" id="info"  name="picOne" value="school" />
			<table class="list_table"  id="tb_version_update" >
					<tr class="tr">
					<td align="left" width="110">&nbsp;&nbsp;学校图片:</td>
					<td>
					<div>
							<input type="file" name="fileName1" class="ml10" style="height:36px;" id="file_upload1" /> 
							<input id="uploadButton1" type="button"
								onclick="$('#file_upload1').uploadify('upload');" value="开始上传"
								class="ext_btn ext_btn_success" style="display:none;">
							 <div id="content"></div>
							<input type="hidden" id="iifUpPic1"   value="0" />
							</div>
                    </td>
				</tr>
				  <tr class="tr">
					<td align="left">&nbsp;&nbsp;图片描述:</td>
					<td><textarea    class="input-text_popup_form pl10 ml10" name="ipic_desc"
						style="height:100px;width:90%;"></textarea></td>
				</tr>
			</table>
			</form>
		</div>
		</div>
		
</body>

</html>
